@charset "utf-8";

@import "common";

//carousel
.g_carousel{
    overflow: hidden;
    height: auto;
    img{
        display: block;
        width: 100%;
        height: auto;
    }
}

//热门
.hot_top{
    position: relative;
    padding-left: 0;
    margin-bottom: 33px;
    &::before{
        content: "热门";
        padding: 20px 9px;
        position: absolute;
        top: 0;
        left: 0;
        height: 87px;
        width: 40px;
        line-height: 25px;
        font-size: 20px;
        white-space: pre-wrap;
        background-color: #e14738;
        color: #fff;
    }
    &::after{
        content: "";
        position: absolute;
        top: 87px;
        left: 0;
        width: 0;
        height: 0;
        border-left:20px solid #e14738;
        border-right: 20px solid #e14738;
        border-bottom: 15px solid #f7f7f7;
    }
}
.h_pic{
    padding-top: 40px;
    div{
        width: 100%;
        height: auto;
        img{
            width: 100%;
            height: auto;
            display: block;
        }
    }
}

.h_desc{
    padding-left: 8px;
    text-align: right;
    h3{
        font-size: 30px;
        color: #2a2a2a;
        margin-bottom: 10px;
        margin-top: 34px;
    }
    p{
        line-height: 30px;
        margin-bottom: 30px;
        font-size: 12px;
        color: #898989;
    }
    .d_pic{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        li{
            width: 48%;
            height: auto;
            margin-bottom: 30px;
            flex-shrink: 0;
            div{
                width: 100%;
                height: auto;
                overflow: hidden;
                border-radius: 5px;
                img{
                    width: 100%;
                    height: 100%;
                    display: block;
                }
            }
        }
    }
}

.hot_down{
    padding-right: 0;
    margin-bottom: 94px;
    .h_desc{
        text-align: left;
    }
}


//更多案例
.g_more{
    padding-bottom: 91px;
    h3{
        font-size: 36px;
        color: #010101;
    }
    .m_pic{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        li{
            width: 31%;
            height: auto;
            margin-top: 42px;
            div{
                position: relative;
                &:hover{
                        .content{
                            transform: scale(1);
                        }
                    }
                .pic{
                    width: 100%;
                    height: auto;
                    overflow: hidden;
                    border-radius: 5px;
                    margin-bottom: 10px;
                    img{
                        width: 100%;
                        height: 100%;
                        display: block;
                    }
                }
                .content{
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 100%;
                    height: 100%;
                    border-radius: 5px;
                    padding: 13px;
                    font-size: 12px;
                    background-color: rgba(0,0,0,.5);
                    color: #fff;
                    transform: scale(0);
                    transition: all 1s;
                    p{
                        margin: 0;
                        font-size: 12px;
                        text-align: left;
                        line-height: 19px;
                    }
                }
            }
            >p{
                text-align: center;
                font-size: 14px;
                color: #2a2a2a;
            }
        }
    }
}

@media (min-width:768px) and (max-width:992px){
    
}
